package com.dfrz.ch09;

/**
 * 作者：wangmaokang
 * 日期: 2021/4/19 14:24
 * 描述:
 */
public class ChildTest {
    public static void main(String[] args) {
        Child child1=new Child(12,"小明");
        Child.joinGame();

        child1.getAge();

        System.out.println(child1.getName());

        System.out.println(Child.total);




        Child child2=new Child(12,"小明");
        Child.joinGame();

//        System.out.println(Child.total);

    }
}
